/**
 * Created by XianTao on 2015/8/12
 * <p/>
 * Copyright (c) 2015-2015
 * Apache License
 * Version 2.0, January 2004
 * http://www.apache.org/licenses/
 */
package org.lego.wechat.base.msg.in.event;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.lego.wechat.base.msg.in.InMsg;

@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
public abstract class EventInMsg extends InMsg {
    protected String event;

    public EventInMsg(String toUserName, String fromUserName, Integer createTime, String msgType, String event,
                      Integer agentId, Long msgId) {
        super(toUserName, fromUserName, createTime, msgType, agentId, msgId);
        this.event = event;
    }
}
